<template>
  <div class="dict s-singlePage">
<!--    <dictTree ref="dictTree" @getSelectNode="getSelectNode"></dictTree>-->
    <dictList ref="dictList" @handlerDelete="handlerDelete"></dictList>
  </div>
</template>

<script>
import dictList from "./module/dictList";
import dictTree from "./module/dictTree";

export default {
  name: "dict",
  components: {
    dictList,
    dictTree
  },
  methods: {
    getSelectNode(node) {
      this.$refs.dictList.tableData = node.childDicTreeVOS
      this.$refs.dictList.parentNode = node
    },
    handlerDelete(){
      this.$refs.dictTree.getDicTree();
    }
  },
}
</script>

<style scoped lang="less">
.dict {
  display: flex;
}
</style>